/**
 * Copyright &copy; 2012-2014 <a href="https://github.com.jims.base">JeeSite</a> All rights reserved.
 */
package com.jims.master.modules.patient.health.service;

import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.patient.health.dao.ImmuneDao;
import com.jims.master.modules.patient.health.entity.Immune;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 免疫Service
 * @author xueyx
 * @version 2017-07-20
 */
@Service
@Transactional(readOnly = true)
public class ImmuneService extends CrudService<ImmuneDao, Immune> {
	@Autowired
	ImmuneDao immuneDao;
	@Override
    public Page<Immune> findPage(Page<Immune> page, Immune immune) {
		return super.findPage(page, immune);
	}

	public List<Immune> findByBaseId(String baseid){
		return immuneDao.findByBaseId(baseid);
	}
}